package com.studyroom.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.studyroom.entity.Answer;
import com.studyroom.entity.QLike;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class QuestionDTO {
    private Long id;
    private Long userId;
    private String username;
    private String icon;
    private String title;
    private String type;
    private String content;
    private Long solveId;
    private LocalDateTime created;
    private List<Answer> answers;
    private List<QLike> likes;
    private Integer answerCount;
    private Integer likeCount;

}
